package com.ja.openchat.viewmodels;

import android.app.Application;

import androidx.annotation.NonNull;

import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze.mvvmhabit.binding.command.BindingAction;
import me.goldze.mvvmhabit.binding.command.BindingCommand;
import me.goldze.mvvmhabit.bus.Messenger;


public class SetPayPwdViewModel extends BaseViewModel {

    public static final String TOKEN_SETPAYPWDVIEWMODEL_FINISH = "token_setpaypwdviewmodel_finish";

    public SetPayPwdViewModel(@NonNull Application application) {
        super(application);
        Messenger.getDefault().register(this, TOKEN_SETPAYPWDVIEWMODEL_FINISH, () -> finish());
    }

    //提交按钮的点击事件
    public BindingCommand confirmOnClickCommand = new BindingCommand(new BindingAction() {
        @Override
        public void call() {
        }
    });
}
